package com.publish.file.repository.product;

import java.util.List;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.publish.file.repository.product.entity.ProductEntity;

@Repository
public interface ProductRespository extends CrudRepository<ProductEntity, Long> {

	void deleteByName(String name);

	@Override
	List<ProductEntity> findAll();

}
